Generally, you do not need to change the PHP settings. it usually works well according to the default configuration. However, developers who are PHP designers consider that users may occasionally need to adjust some features of the PHP language for
Php security configuration records and common errors (Summary), common php errors
After the php environment is deployed, some security settings are made. In addition to being familiar with various php vulnerabilities, you can also configure php. ini
After the php environment is deployed, some security settings are made. in addition to being familiar with various php vulnerabilities, you can also configure php. ini to reinforce the runtime environment of PHP, and PHP has been officially modified
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
PHP-Fcgi. Generally, set the timeout time for PHP script execution. set max_execution_time1800 in ini; 2. use the ini_set function of PHP to set ini_set (max_execution_time, 18). generally, set the PHP script execution timeout time.
1. set in php.
Yesterday, a program needs to export 500 pieces of data. as a result, 150 pieces of data are found. Nginx reports a 504GatewayTimeout error, in the past, the execution time set in PHP-Fcgi is different from that in isapi. Generally, the PHP script
Yesterday, a program needs to export 500 pieces of data. as a result, 150 pieces of data are found. Nginx reports a 504GatewayTimeout error, in the past, the execution time set in PHP-Fcgi is different from that in isapi. Generally, the PHP script
PHP security practices that system administrators must know
PHP is an open source server-side scripting language that is widely used. The Apache Web server provides this convenience: access to files and content via HTTP or HTTPS protocol. Improperly
How does PHP set the maximum page execution expiration time?
Generally, when uploading a large attachment, a webpage will expire in 30 seconds. how can this problem be solved? The solution is as follows:1. if it is your own server, you
In php, the default time-out period for script execution is 30 seconds. if you do not set the time-out period to 30 seconds, if your script has not been executed, it will time out, next I will explain how to solve the PHP script execution
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.